package com.rui.framework.beans.factory;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @interfaceName : BeanFactory
 * @createTime : [2022/2/26 16:24]
 * @description : [IOC容器父接口]
 */

public interface BeanFactory {

    Object getBean(String name) throws Exception;

    <T>T getBean(String name, Class<? extends T> clazz) throws Exception;
}
